<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script>
		function Car() {
			this.name='奥迪';
			this.color='red';
			this.run = function () {
				document.write("可以跑");
			}
			this.paoniu = function () {
				document.write("可以泡妞");
			}
		}

		audi = new Car();
		audi.color = "blue";
		audi.length = '2.1m';
		audi.zairen = function (argument) {
			document.write("可以泡妞");
		}

		audi.zairen();


		audi1 = new Car();
		document.write(audi1.name);

		audi1.zairen();

		// audi.name ="奥拓";
		// document.write(audi.name);
		// document.write(audi.color);

		// console.log(audi);



	</script>
</head>
<body>
	
</body>
</html>